public class Client {
    CompositeEntity entity = new CompositeEntity();

    public void setData(String string1,String string2) {
        entity.setData(string1,string2);
    }


    public void printData(){
        for (String data : entity.getData()) {
            System.out.println("data : "+data);
        }
    }
}
